home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Freeware / ttengine-4.3 / Developer / include / clib / ttengine_protos.h
Encoding:
C/C++ Source or Header  |  2002-10-27  |  1.3 KB  |  42 lines

  1. #ifndef CLIB_TTENGINE_PROTOS_H
  2. #define CLIB_TTENGINE_PROTOS_H
  3.  
  4.  
  5. /*
  6. **    $VER: ttengine_protos.h 4.0 (11.10.2002)
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    Copyright © 2002 
  11. **    All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  UTILITY_TAGITEM_H
  18. #include <utility/tagitem.h>
  19. #endif
  20. #ifndef  LIBRARIES_TTENGINE_H
  21. #include <libraries/ttengine.h>
  22. #endif
  23. #ifndef  GRAPHICS_TEXT_H
  24. #include <graphics/text.h>
  25. #endif
  26.  
  27. APTR TT_OpenFontA(struct TagItem * taglist);
  28. APTR TT_OpenFont(Tag taglist, ...);
  29. BOOL TT_SetFont(struct RastPort * rp, APTR font);
  30. VOID TT_CloseFont(APTR font);
  31. VOID TT_Text(struct RastPort * rp, APTR string, ULONG count);
  32. ULONG TT_SetAttrsA(struct RastPort * rp, struct TagItem * taglist);
  33. ULONG TT_SetAttrs(struct RastPort * rp, Tag taglist, ...);
  34. ULONG TT_GetAttrsA(struct RastPort * rp, struct TagItem * taglist);
  35. ULONG TT_GetAttrs(struct RastPort * rp, Tag taglist, ...);
  36. ULONG TT_TextLength(struct RastPort * rp, APTR string, ULONG count);
  37. VOID TT_TextExtent(struct RastPort * rp, APTR string, WORD count, struct TextExtent * te);
  38. ULONG TT_TextFit(struct RastPort * rp, APTR string, UWORD count, struct TextExtent * te,
  39.     struct TextExtent * tec, WORD dir, UWORD cwidth, UWORD cheight);
  40.  
  41. #endif    /*  CLIB_TTENGINE_PROTOS_H  */
  42.